GtkWidget *button;
GtkWidget *box1;
GtkWidget *box2;
- GdkSurface *gdk_surface;
GdkPixbuf *pixbuf;
GdkTexture *texture;
GList *list;
gtk_widget_realize (window);
- gdk_surface = gtk_native_get_surface (GTK_NATIVE (window));
-
pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **) openfile);
texture = gdk_texture_new_for_pixbuf (pixbuf);
g_object_unref (texture);
g_object_unref (pixbuf);
- gdk_surface_set_decorations (gdk_surface, GDK_DECOR_ALL | GDK_DECOR_MENU);
- gdk_surface_set_functions (gdk_surface, GDK_FUNC_ALL | GDK_FUNC_RESIZE);
-
box1 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_container_add (GTK_CONTAINER (window), box1);
gtk_widget_show (box1);